package com.aggregate.pay.sanstar.support.client;

import com.aggregate.pay.sanstar.bean.PayCreateData;
import com.aggregate.pay.sanstar.bean.PayCreateResult;
import com.aggregate.pay.sanstar.support.AbstractClient;
import com.aggregate.pay.sanstar.support.Factory;
import com.aggregate.pay.sanstar.support.Merch;

/**
 * 支付接口
 * @author Moyq5
 * @date 2018年9月3日
 */
public class PayCreate extends AbstractClient<PayCreateData, PayCreateResult> {

	public PayCreate(Merch merch) {
		super(merch);
	}

	@Override
	protected String getServerPath() {
		return Factory.getConfig().getServerPath() + "/pay/create";
	}

	@Override
	protected Class<PayCreateResult> getResultClass() {
		return PayCreateResult.class;
	}

}
